package com.dl.study.module.base.authority.domain.vo;

import lombok.Data;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

/**
 * [ 权限表 ]
 *
 * @author dl
 * @version 1.0
 * @company xxxx
 * @copyright (c) 2018 xxxxInc. All rights reserved.
 * @date 2019/3/27 0027 下午 12:27
 * @since JDK1.8
 */
@Data
public class AuthorityUpdateVO {

    @ApiModelProperty("自增主键")
    private Long id;

    @ApiModelProperty("权限名称")
    private String name;

    @ApiModelProperty("权限编码")
    private String code;

    @ApiModelProperty("编号路径")
    private String codePath;

    @ApiModelProperty("权限描述")
    private String authorityDesc;

    @ApiModelProperty("排序")
    private Integer showOrder;

    @ApiModelProperty("父Id")
    private Long pid;

    @ApiModelProperty("是否删除{0:未删除,1:删除}")
    private Integer isDeleted;

    @ApiModelProperty("创建人")
    private Long creator;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("修改人")
    private Long updator;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


}
